package com.liug.droidsmall2.fragment;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;

import com.google.vr.sdk.widgets.pano.VrPanoramaView;
import com.liug.droidsmall2.R;
import com.liug.droidsmall2.base.BaseFragment;
import com.scwang.smartrefresh.header.WaterDropHeader;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;

/**
 * 我的页面
 * Created by LG on 2018/7/31.
 */
public class UserFragment extends BaseFragment {
    private LinearLayout head_me;
    private VrPanoramaView vrPanoramaView;
    @Override
    public void initData(Bundle savedInstanceState, Context context) {

    }

    @Override
    public void initView(View view, Context context) {
        SmartRefreshLayout refreshLayout = (SmartRefreshLayout) view.findViewById(R.id.reswsm);
        refreshLayout.setEnableLoadmore(false);
        refreshLayout.setRefreshHeader(new WaterDropHeader(getActivity()));
        head_me = (LinearLayout) view.findViewById(R.id.head_me);
//        head_me.setBackgroundResource(R.mipmap.head);
    }


    @Override
    public int setView() {
        return R.layout.user_fragment;
    }
}
